package com.akkainaction.helloactor.config;

import akka.actor.ActorRef;
import akka.actor.ActorSystem;
import akka.actor.Props;
import com.akkainaction.helloactor.config.actor.ConfigActor;
import com.typesafe.config.ConfigFactory;

public class TestConfigActor {

    public static void main(String[] args) {
        ActorSystem system = ActorSystem.create("sys", ConfigFactory.load("appsys"));
        ActorRef configActor = system.actorOf(Props.create(ConfigActor.class), "configActor");
        configActor.tell("hello config", ActorRef.noSender());
    }
}
